package com.wonders.hisdoctor.station.project.base.domain;

import com.wonders.his.common.utils.validator.group.PrimaryGroup;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>病历模板辅助表</p>
 * <p>db_table: WDEDITOR_SUPPORT</p>
 * @author tong-aj
 * @date 2021/07/22
 */
@ApiModel("病历模板辅助表")
@Accessors(chain = true)
@Data
@ToString
@TableName("WDEDITOR_SUPPORT")
public class WdeditorSupport implements Serializable {

    private static final long serialVersionUID = 3477026125849614468L;

    /** `主键` db_field: PATIENT_ID; desc: 病人标识 */
    @ApiModelProperty("病人标识")
    @NotNull(message = "病人标识不能为空", groups = PrimaryGroup.class)
    @TableField("PATIENT_ID")
    private String patientId;

    /** `主键` db_field: VISIT_DATE; desc: 就诊日期 */
    @ApiModelProperty("就诊日期")
    @NotNull(message = "就诊日期不能为空", groups = PrimaryGroup.class)
    @TableField("VISIT_DATE")
    private Date visitDate;

    /** `主键` db_field: VISIT_NO; desc: 就诊序号 */
    @ApiModelProperty("就诊序号")
    @NotNull(message = "就诊序号不能为空", groups = PrimaryGroup.class)
    @TableField("VISIT_NO")
    private Integer visitNo;

    /** `主键` db_field: DOCTOR; desc: 医生工号 */
    @ApiModelProperty("医生工号")
    @NotNull(message = "医生工号不能为空", groups = PrimaryGroup.class)
    @TableField("DOCTOR")
    private String doctor;

    /** db_field: MODEL_ID; desc: 模板ID */
    @ApiModelProperty("模板ID")
    @TableField("MODEL_ID")
    private String modelId;

    /** db_field: TITLE; desc: 模板标题 */
    @ApiModelProperty("模板标题")
    @TableField("TITLE")
    private String title;

    /** db_field: HOSPITAL_CODE; desc: 医院代码 */
    @ApiModelProperty("医院代码")
    @TableField("HOSPITAL_CODE")
    private String hospitalCode;

}